package code3;

import java.util.Random;

public class Train implements Vehicle {

	@Override
	public int speedUp() {
		Random random = new Random();
		return random.nextInt(5) + 8;
	}

}
